home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-12 | 4.1 KB | 110 lines | [TEXT/CWIE] |
- InputSprocket 1.0
- Release Notes
- -----------------
-
- Please report all bugs to sprockets@adr.apple.com!
-
- Release Components
- ------------------
-
- InputSprocket Release Notes - this file
- InputSprocket.h - the header file to compile with
- InputSprocketLib - release version of the library
- InputSprocketDebugLib - debugging version of the library
- InputSprocketStubLib - version of the library to link to
- InputSprocket Keyboard - keyboard plug-in
- InputSprocket Mouse - mouse plug-in
- InputSprocketTest - test program
- InputSprocketTest.ยต - Metrowerks 8 project to build test
- InputSprocketTest Sources - sources for test program
-
- Place InputSprocket Keyboard, InputSprocket Mouse and InputSprocketLib or
- InputSprocketDebugLib in the Extensions folder. Place InputSprocket.h in
- your development environment's C Headers folder. Place InputSprocketStubLib
- in your development environment's Libraries folder.
-
- WARNING: don't place both the debugging and non-debugging versions of the
- library in the search path or you will not be sure which version you will be
- using.
-
- Dependencies
- ------------
-
- InputSprocket requires the latest Universal Headers -- version 2.1.2 or later.
- You can find them on E.T.O. #20, the MacOS SDK CD-ROMs, Apple's web-site, or
- a number of other locations. If you have a problem with the "AbsoluteTime"
- type usage, then you aren't using the latest Types.h file.
-
- Compatability with Prereleases
- ------------------------------
-
- InputSprocket 1.0 is not compatible with any of the pre-release versions of
- InputSprocket. You should throw out all DR versions.
-
- Changes to 'setl' Resource
- --------------------------
-
- The format for the set list resource ('setl') was changed at the last minute.
- A resedit TMPL resource is automatically installed in the preference file and
- the format is as follows:
-
- -- header --
- Version (4 bytes) The current version is now 2.
- Count (4 bytes)
-
- -- each entry --
- name (64 bytes) A pascal string
- set length (4 bytes) The length of the set
- device class (4 bytes) The device class of the device
- device identifier (4 bytes) The device identifier of the device
- flags (4 bytes) Same flags as in the header
- reserved1 (4 bytes) Reserved by apple set to zero.
- reserved2 (4 bytes) Reserved by apple set to zero.
- reserved3 (4 bytes) Reserved by apple set to zero.
- set resource id (2 bytes) The resource id of the set.
- reserved4 (2 bytes) Reserved by apple set to zero.
-
- Special Considerations
- ----------------------
-
- - Your game should use the Escape key to pause and resume play. The
- element that corresponds to the Escape key is labelled
- ISpElementLabel_Start. If your game uses virtual elements then the
- first button need that is labelled ISpElementLabel_Start is auto-
- configured to the Escape key, and the user can't change this in
- the ISpConfigure dialog.
-
- - Your game may provide default and optional configurations for the
- keyboard, the mouse and any other devices. This is done by including
- 'setl' and 'tset' resources a resource file, such as the application's,
- that is open when ISpInit and ISpConfigure are called. Since the
- format of the 'tset' resource is determined by the device, it is
- easiest to use the configuration dialog to establish the desired
- configurations then copy them from the Preferences file into your
- resource file.
-
- 1. Remove the InputSprocket Preferences file from the Preferences
- folder.
-
- 2. Run your game, and invoke the ISpConfigure dialog.
-
- 3. Configure and save as many sets as you like for any and all
- devices.
-
- 4. Quit.
-
- 5. Use ResEdit to move the 'setl' and 'tset' resources to your
- resource file.
-
- 6. Edit the 'setl' resource using the 'TMPL' supplied in
- InputSprocketSimpleTest.rsrc.
-
- 7. Change the flags field to $00000002 for the default entry for
- a given device or $00000004 for any other entry for that
- device.
-
- 8. Again remove the InputSprocket Preferences file from the
- Preferences folder so you can test with a clean slate.
-
- 9. Rebuild your game and try out your new configurations.
-